#pragma once
#include "EpilExpressionCodeBase.h"


class EpilFunctionCallExpressionCodeBase : public EpilExpressionCodeBase
{
public:
	EpilFunctionCallExpressionCodeBase( const EpilLexLocation & location );
	virtual ~EpilFunctionCallExpressionCodeBase();

	EpilExpressionCodeBase *			GetTableExpression() const							{ return m_tableExpression; }
	void								SetTableExpression( EpilExpressionCodeBase * expr )	{ m_tableExpression = expr; }

	const EpilExpressionCodeList &		GetArguments() const								{ return m_arguments; }
	EpilExpressionCodeList &			GetArguments()										{ return m_arguments; }
	void								SetArguments( EpilExpressionCodeList & args )		{ m_arguments = args; }

private:
	EpilExpressionCodeBase *			m_tableExpression;
	EpilExpressionCodeList				m_arguments;
};
